package cn.sumpu.app.guoguojie.domain;

import java.io.Serializable;
import java.util.Date;

import cn.sumpu.app.guoguojie.util.Common;

public class AppEvent implements Serializable {

	private static final long serialVersionUID = 5605308638382527008L;
	private Integer id;
	private String identifier;
	private String member;
	private String family;
	private String startTime;
	private String endTime;
	private Integer remind;
	private String content;
	private Date gmtCreated;
	private Date gmtModified;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getIdentifier() {
		return identifier;
	}

	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	public String getMember() {
		return member;
	}

	public void setMember(String member) {
		this.member = member;
	}

	public String getFamily() {
		return family;
	}

	public void setFamily(String family) {
		this.family = family;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getRemind() {
		return remind;
	}

	public void setRemind(Integer remind) {
		this.remind = remind;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getGmtCreated() {
		return gmtCreated;
	}

	public void setGmtCreated(Date gmtCreated) {
		this.gmtCreated = gmtCreated;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	
	public String getContentCut(){
		return Common.cutStr(content, 14, "...");
	}
	
	public String getMainContentCut(){
		return Common.cutStr(content, 10, "...");
	}

}
